package edu.inf3.j2ee.entities;


public class Credentials {

	private long id;
	private String login;
	private String password;
	private Group group;
	
	public Credentials(){
	}
	
	public Credentials(String login, String password){
		this.login = login;
		this.password = password;
	}
	
	public Credentials(String login, String password, Group group){
		this.login = login;
		this.password = password;
		this.group = group;
	}
	
	/**
	 * @return the id
	 */
	public long getId() {
		return id;
	}
	/**
	 * @param id the id to set
	 */
	public void setId(long id) {
		this.id = id;
	}
	/**
	 * @return the login
	 */
	public String getLogin() {
		return login;
	}
	/**
	 * @param login the login to set
	 */
	public void setLogin(String login) {
		this.login = login;
	}
	/**
	 * @return the password
	 */
	public String getPassword() {
		return password;
	}
	/**
	 * @param password the password to set
	 */
	public void setPassword(String password) {
		this.password = password;
	}
	/**
	 * @return the group
	 */
	public Group getGroup() {
		return group;
	}
	/**
	 * @param group the group to set
	 */
	public void setGroup(Group group) {
		this.group = group;
	}
	
}
